<template>
    <div class="hometop">
        <div class="hometopImg">
            <img src="../../assets/img/760332629358764066.png" alt="">
        </div>
        <div class="search">
            <div class="iconfont icon-sousuo"></div>
            <p class="input">搜索</p>
        </div>
        <div class="hometopTitle">
            打开APP
        </div>
    </div>
</template>

<script setup lang="ts">

</script>

<style lang="scss" scoped>
.hometop {
    box-sizing: border-box;
    padding: 15px 15px 5px;
    width: 375px;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .hometopImg {
        margin-top: 6px;

        img {
            width: 80px;
            height: 35px;
        }
    }

    .search {
        width: 160px;
        height: 30px;
        margin: 10px 15px;
        display: flex;
        justify-content: center;
        background-color: #EFF1F4;
        line-height: 30px;
        border-radius: 40px;

        .iconfont {
            font-size: 14px;
            margin-left: 6px;
            margin-right: 6px;
        }

        .input {
            width: 315px;
            font-size: 14px;
        }
    }

    .hometopTitle {
        width: 88px;
        height: 30px;
        line-height: 30px;
        background-color: #FA2800;
        color: white;
        border-radius: 20px;
        font-size: 16px;
        text-align: center;
    }
}
</style>